@echo off
set DB_PROTOCOL_TDR=./mhfc_database.tdr
set DB_PROTOCOL_H=./ssproto3.h
set DB_XML_FILES=ssproto.xml

rem set TOOLS_HOME=../../../Server/Tools/tsf4g
set TOOLS_HOME=./

"%TOOLS_HOME%/tdr.exe" -H -o %DB_PROTOCOL_H%  %DB_XML_FILES% 
@rem "%TOOLS_HOME%/tdr.exe" --xml2dr -o %DB_PROTOCOL_TDR% %DB_XML_FILES% 

@rem @copy /y ".\mhfc_database.tdr" "..\..\..\..\Bin\Server_win\config"
@rem @copy /y ".\mhfc_database.h" "..\..\..\..\Code\Server\Framework\Database"

@rem translate encoding

pause
echo on
